import Vue from 'vue'
import Vuex from 'vuex'

import app from './modules/app'
import user from './modules/user'
import lesson from './modules/lesson'
import tag from './modules/tag'
import comment from './modules/comment'
import post from './modules/post'
import live from './modules/live'
import note from './modules/note'

Vue.use(Vuex)

const store = new Vuex.Store({
  mutations: {},
  actions: {},
  modules: {
    app,
    user,
    lesson,
    tag,
    comment,
    post,
    live,
    note
  }
})

export default store
